package com.cx.design_pattern.structureMode.jdk_dynamic_proxy;

import com.cx.design_pattern.structureMode.Product;

/**
 * @author shkstart
 * @date 2019/10/28 - 21:48
 */
public class MainTest {
    public static void main(String[] args) {
        Product product = new Product();
        ProductService productService = (ProductService) new Proxy_Pattern(new ProductSserviceImpl()).getProxy();
        productService.add(product);
    }
}
